package model.xpdl2
{
	import util.DateTimeUtil;
	
	public class Created
	{
		private var created:String;
			
		public function Created()
		{
			created=DateTimeUtil.genCurrentDateInXPDL();
		}
		
		public function genXML():String{
			var xml:String;
			var nsprefix:String="xpdl2";
			xml="<"+nsprefix+":Created>"+created+"</"+nsprefix+":Created>\n";
			return xml;
		}
		
		public function setCreated(created:String):void{
			this.created=created;
		}
		
		public function getCreated():String{
			return this.created;
		}


	}
}